//Test for Ventus NLE
//Simple frame classes - for now.
#pragma once

#define VUS_DATA_POINTS 4

typedef struct _vus_frame {
	int width, height;
	int buffer_size;
	vus_byte * data[VUS_DATA_POINTS];
	int linesize[VUS_DATA_POINTS];
	//TODO: support different pixel formats
} vus_frame;

VUS_TEST_EXPORT vus_frame *vus_frame_create(int width, int height, int linesize);

VUS_TEST_EXPORT vus_frame *vus_frame_copy(int width, int height, vus_byte *data, int linesize);

VUS_TEST_EXPORT void vus_frame_free(vus_frame **frame);
